<?php
class Modulemanager_Data_Updatemodulecontentvalues implements Modulemanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "UPDATE module_content_values SET module_content_values.module_title = '".$variables['post']['module_title']."', module_content_values.module_description = '".$variables['post']['module_description']."', module_content_values.module_content = '".$variables['post']['module_content']."', module_content_values.module_image = '".$variables['post']['module_image']."' WHERE module_content_values.module_name = '".$variables['post']['module_name']."';";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }

}
